/* __V3D_TEMPLATE__ - template-based file; delete this line to prevent this file from being updated */

body {
    margin: 0px;
    overflow: hidden;
    font-family: "Barlow Condensed", sans-serif;
    color: #565655;
    background-color: #424951
    
}

noscript {
    display: block;
    text-align: center;
    padding-top: 100px;
    font-size: 20px;
}

.v3d-container {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.fullscreen-button {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background-size: 100% 100%;
    display: none;
    z-index: 1;
}

.fullscreen-button:hover
{
    opacity:0.85;
}

.fullscreen-open {
    background-image: url('media/fullscreen_open.svg');
}

.fullscreen-close {
    background-image: url('media/fullscreen_close.svg');
}

/* BARLOW FONT */
.barlow-condensed-regular {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.barlow-condensed-medium {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.barlow-condensed-semibold {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.barlow-condensed-bold {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.barlow-condensed-regular-italic {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.barlow-condensed-medium-italic {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.buttons {
  position: static;
  background-color: none;
  width: 50px;
  height:50px;
  margin:12px;
  cursor:pointer;
  float: left;
  z-index: index 1111111;
}

@media (max-width: 600px) {
  #screenshot_button {
    display: none !important;
  }
}


.contact-button {
    position: absolute;
    width: 50px;
    height:50px;
    bottom:50px;
    right: 50px;
    cursor:pointer;
    z-index: index 1111111;
    background-size: 100% 100%;
    background-image: url(media/conatct_button_greenBG.svg);
    color: none;
    background-color: transparent;
    display: block;
    z-index: 1;
    border: none;
    box-sizing: border-box;
    float: right;
  
}

@media (max-width: 600px){
  .contact-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    }
    }



.contact-button:hover {
    opacity:0.85;
}

.bottom-nav {
  position: fixed;
  left: 50px;
  bottom: 50px;
  display: flex;
  align-items: center;
  background: transparent;
  z-index: 999;
  gap: 20px;
}

.logo {
  width: 120px;
  height: auto;
}

.nav-item {
  text-decoration: none;
  color: #fff;
  background: none;
  padding: 10px 18px;
  border-radius: 6px;
  margin-left: 8px;
  transition: background 0.2s;
}

.nav-item:hover {
  background: #94c11a;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 2em;
  color: #fff;
  margin-left: 15px;
}

/* bottom navigation Responsive rules */
@media (max-width: 600px) {
  .bottom-nav {
    left: 20px;
    bottom: 20px;
    gap: 10px;
  }
  .nav-item {
    display: none;
  }
  .hamburger {
    display: block;
  }
 /* When menu is open */
  .bottom-nav.show-menu {
    flex-direction: column; /* stack elements vertically */
    align-items: flex-start;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 10px;
  }

  .bottom-nav.show-menu .nav-item {
    display: block;
    position: static; /* don't position absolutely */
    background: none;
    margin: 5px 0;
    width: 100%;
    box-shadow: none;
  }
}

/* removes tap blinking on ios devices */
* { -webkit-tap-highlight-color:rgba(0,0,0,0); }


.v3d-simple-preloader-logo {
    background-image: url('media/simple_preloader_logo.svg');
}

.v3d-simple-preloader-container {
    --v3d-preloader-img-width: 250px;
    --v3d-preloader-img-height: 100px;
}

.v3d-simple-preloader-bar {
    background: linear-gradient(90deg, #779b15, #94c11a);
    height: 3px;
    border-color: #94c11a;
}



/* POP-UP */
.popup-overlay {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.5);
      z-index: 1000;
      justify-content: center;
      align-items: center;
      display: none;
    }
.popup-overlay-1    
      {
      display: none;
    }

.popup-overlay-2    
      {
      display: none;
    }

.popup-overlay-3    
      {
      display: none;
    }   


    /* Pop-up window */
    .popup-window {
      position:absolute;
      top: 10%;
      bottom: 10%;
      left: 10%;
      right:10%;
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.3);
      width: auto;
      height: auto;
      max-width: 1500px;
      max-height: 80vh;
      padding: 24px;
      text-align: center;
      animation: popup-in 0.4s cubic-bezier(.59,.12,.86,.53) both;
      overflow-y: auto;
      align-items: center;

    }
    @keyframes popup-in {
      0% { transform: scale(0.9) translateY(32px); opacity: 0;}
      100% {transform: scale(1) translateY(0); opacity: 1;}
    }

    .popup-header {
      font-size: 1.8em;
      margin-top: 10px;
      text-align: center;
      padding:15px;
}
    .popup-text {
      margin-bottom: 10px;
      font-size: 1.1em;
      text-align: justify, center;
      padding: 20px;
    }

 /* Popup-content to make scroll to top button positioned to */
    .popup-content {
      position: relative; /* positioning context for jump button */
      
    }

    /* Close button */
    .close-btn {
      position: absolute;
      top: 12px;
      right: 12px;
      background: #ffffff;
      border: none;
      border-radius: 50%;
      width: 28px;
      height: 28px;
      font-size: 30px;
      line-height: 28px;
      cursor: pointer;
      color: #565655;
      transition: background 0.3s ease;
      z-index: 1001;
    }
    .close-btn:hover {
     
      color: #94c11a;
    }
    /* Responsive design for smaller screens */
    @media (max-width: 480px) {
      .popup-window {
        padding: 10px;
        max-width: 96vw;
    
        }
        .close-btn {
        width: 24px;
        height: 24px;
        font-size: 20px;
        line-height: 20px;
      }
        }

      /* Jump-to-top button */   
     .jump-to-top-btn {
        position: absolute;
        bottom: 16px;
        right: 16px;
        background-color: #ccc;
        color: white;
        border: none;
        border-radius: 6px;
        padding: 10px 16px;
        font-size: 14px;
        cursor: pointer;
        box-shadow: 0 4px 4px rgba(0,0,0,0.2);
        opacity: 0.85;
        z-index: 20;
      }

      .jump-to-top-btn:hover {
        opacity: 1;
      }

    /* pop-up table, 8 Flex-Boxes Layout */
    
    .flexbox-container {
      display: flex;
      flex-direction: row;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
      box-sizing: content-box;
    }
    .column {
      flex: 1 1 0;
      display: flex;
      flex-direction: column;
      gap: 20px;
      min-width: 250px;
      max-width: 400px;
      box-sizing: content-box;
    }
    .header {
      font-size: 1.5em;
      color: #ffffff;
      font-weight: medium;
      text-align: center;
      background: #94c11a;
      padding: 10px;
      border-radius: 5px;
      min-height: 50px;
      box-sizing: border-box;
    }
    .image-box {
      background: #ffffff;
      overflow: visible;
      display: flex;
      flex-direction: row;
      max-width: 300px;
      background: #ffffff;
      padding: 10px;
      box-sizing: border-box;

     }

    .image-box img {
      background: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.3s ease;
      object-fit: contain;
      width: 100%;
      border-radius: 8px;
      cursor: pointer;
      transition: box-shadow 0.2s;
      margin:auto;

      }

    .image-box:hover img {
      transform: scale(1.05);
    }

    @media (max-width: 600px) {
      .flexbox-container {
        flex-direction: column;
        gap: 20px;
      }
      .column {
        max-width: 100%;
        width: 100%;
      }
    }


     /* Pop-up Responsive Image Containers */
     .img-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      max-width: 1000px;
      margin: auto;
      flex-direction: row;
    
    }
  
  

    .image-name {
      margin-top: 10px;
      margin-left: 10px;
      font-size: 1.05em;
      color: #ffffff;
     z-index: 11111;
     position: absolute;
     background-color: #94c11a;
     border-radius: 5px;
     padding:10px;
   
      }


    @media (max-width: 600px) {
      .img-container {
        flex-direction: column !important;
        align-items: center;
        
      }

      .image-box {
        width:100% !important;
        max-width: 100% !important;
        flex:none !important;
        
        justify-content: center;
        
      }
      .image-box:last-child {
        margin-bottom: 0;
      }
      
       .image-box img {
        width:100%;
        height: auto;
        justify-content: center;
        
      }

    }

    /* CONTACT FORM STYLES */
.popup-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  max-width: 600px;
  margin: auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  margin-bottom: 6px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1em;
}

.form-submit-btn {
  background-color: #94c11a;
  color: white;
  padding: 10px 20px;
  font-size: 1.2em;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 400;
  font-style: normal;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-submit-btn:hover {
  background-color: #779b15;
}

/* Contact form — design file upload */
.contact-upload-area {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f0f0f0;
  color: #444;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 0.88em;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
  user-select: none;
}
.contact-upload-btn:hover {
  background-color: #e2e2e2;
  border-color: #aaa;
}

.contact-upload-status {
  font-size: 0.82em;
  color: #666;
  flex: 1;
  word-break: break-all;
}
.contact-upload-status.uploading { color: #888; }
.contact-upload-status.success   { color: #779b15; }
.contact-upload-status.error     { color: #cc3333; }

/* CSS to style 4 rows of text and images side-by-side, automatically stacking as text, image, text, image on small screens. */ 
   .popup-row-container {
  margin: 36px 0 0 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.popup-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 20px;
  width: 100%;
}

.popup-row-text {
  flex: 2 1 0;
  font-size: 1.13em;
  background: #f6f6f6;
  border-radius: 9px;
  padding: 18px 16px;
  box-sizing: border-box;
  color: #565655;
}

.popup-row-image {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
}

.popup-row-image img {
   height: 100%;        /* fills the container's height to match text */
  max-height: 150px;   /* limit maximum height */
  width: auto;         /* maintain aspect ratio */
  object-fit: cover;   /* cover container without distortion */
  display: block;
}

/* Responsive stacking */
@media (max-width: 600px) {
  .popup-row {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
  
  .popup-row-text, .popup-row-image {
    padding: 10px;
    border-radius: 8px;
  }
  
  .popup-row-image img {
    width: 100%;    /* full width in vertical layout */
    height: auto;   /* natural height */
    max-height: none;
    margin: 0 auto;
  }
}

    
/* Fullscreen image lightbox */
.img-lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
}

.img-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.img-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
  z-index: 10000;
}

/* Hidden class */
.hidden {
  display: none;
}      

.popup-overlay-contact
{
      display: none !important;
    }   

.upload_button:hover
 {    
      background-color: #94c11a !important; 
    }


